package com.zxg.zbc.dal.dao;

import com.zxg.zbc.dal.dao.exception.DAOException;
import com.zxg.zbc.dal.dataobject.EUser;
import com.zxg.zbc.dal.query.CommonQuery;


/**
 * 
 * @author HangDing   
 *
 * 2014年1月1日
 */
public interface EUserDao {

	public EUser getUserBySign(String sign)
			throws DAOException;
	
	public EUser getUserById(Long id)
	throws DAOException;
	
	public EUser getUserByElemeUserId(Long elemeUserId)
	throws DAOException;
	
	public long insertEUser(EUser user) throws DAOException;

	public long updateEUser(EUser user) throws DAOException;
	
	public CommonQuery<EUser> getUsersByQuery(CommonQuery<EUser> query)throws DAOException;
	

}
